package com.kgc.travel.mapper;

import com.kgc.travel.pojo.EduAdvertiseImage;
import com.kgc.travel.pojo.EduAdvertiseImageExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EduAdvertiseImageMapper {
    int countByExample(EduAdvertiseImageExample example);

    int deleteByExample(EduAdvertiseImageExample example);

    int deleteByPrimaryKey(Integer imageId);

    int insert(EduAdvertiseImage record);

    int insertSelective(EduAdvertiseImage record);

    List<EduAdvertiseImage> selectByExample(EduAdvertiseImageExample example);

    EduAdvertiseImage selectByPrimaryKey(Integer imageId);

    int updateByExampleSelective(@Param("record") EduAdvertiseImage record, @Param("example") EduAdvertiseImageExample example);

    int updateByExample(@Param("record") EduAdvertiseImage record, @Param("example") EduAdvertiseImageExample example);

    int updateByPrimaryKeySelective(EduAdvertiseImage record);

    int updateByPrimaryKey(EduAdvertiseImage record);
}